//
//  UIButton+Music.m
//  04-qq音乐播放界面
//
//  Created by dllo on 16/7/19.
//  Copyright © 2016年 YMJ. All rights reserved.
//

#import "UIButton+Music.h"

@implementation UIButton (Music)
+ (UIButton *)backButtonCreated {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.backgroundColor = [UIColor clearColor];
    button.frame = CGRectMake(0, 0, 45, 30);
    button.center = CGPointMake(10 + 45/2, 30/2 + 20);
    [button setImage:[UIImage imageNamed:@"actionbutton"] forState:0];
    return button;
}
+ (UIButton *)moreButtonCreated {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.frame = CGRectMake(0, 0, 45, 30);
    button.center = CGPointMake(WIDTH - (10 + 45/2), 30/2 + 20);
    button.backgroundColor = [UIColor clearColor];
    [button setImage:[UIImage imageNamed:@"icon_more_music"] forState:0];
    return button;
}

@end
